home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
kcl
/
kcl.lha
/
makefile
next >
Wrap
Makefile
|
1985-11-28
|
1KB
|
56 lines
# To install KCL/VAX or KCL/SUN, you should first check
# the beginning of o/makefile and unixport/makefile
# and modify them, if necessary.
#
# Then, KCL can be installed by issuing the following commands
# in this directory.
#
# % su
# # cp h/cmpinclude.h /usr/include
# # exit
# % make
# % su
# # make install
# # exit
#
# To revise KCL, the following command is enough.
#
# % make
BINDIR = bin
HDIR = h
CDIR = c
ODIR = o
LSPDIR = lsp
CMPDIR = cmpnew
PORTDIR = unixport
all: /usr/include/cmpinclude.h
(cd $(BINDIR); make)
(cd $(ODIR); make)
(cd $(LSPDIR); make)
(cd $(CMPDIR); make)
(cd $(PORTDIR); make)
/usr/include/cmpinclude.h: $(HDIR)/cmpinclude.h
@echo "su and make cmpinclude.h"
exit 1
cmpinclude.h:
cp $(HDIR)/cmpinclude.h /usr/include
install:
(cd $(PORTDIR); echo "#" > /usr/bin/kcl; \
echo "`pwd`/saved_kcl `pwd`/" >> /usr/bin/kcl)
chmod 755 /usr/bin/kcl
clean:
(cd $(BINDIR); make clean)
(cd $(ODIR); make clean)
(cd $(LSPDIR); make clean)
(cd $(CMPDIR); make clean)
(cd $(PORTDIR); make clean)